@import "./header";
@import "./footer";
@import "./login";
@import "./register";
body{
    background: #f2f2f2;
}
main{
    width: 100%;
    min-height: 677px;
    margin-bottom: 30px;
    .main {
        width: 1150px;
        height: 62px;
        margin: 0 auto;
        text-align: left;
        line-height: 62px;
        .appear{
            display: none;
        }
        .gohome{
            a{
                color: #333;
                text-decoration: none;
                font-size: 16px;
            }
        }
        .menu{
            float: left;
            width: 17%;
            height: 615px;
            background: #fff;
            text-align: center;
            ul p {
                height: 56px;
                line-height: 56px;
            }
            ul{
                li{
                    height: 42px;
                    line-height: 42px;
                    a {
                        color: #333;
                    }
                    // &:hover a{
                    //     color: #f35356;
                    // }  
                }
                .ac{
                    background: #f35356;
                    a{
                        color: #fff;
                    }
                } 
            }
        }
        .order-all{
            float: left;
            width: 81%;
            min-height: 615px;
            margin-left: 2%;
            position: relative;
            .appear{
                display: none;
            }
            .nav{
                font-size: 17px;
                padding-left: 5%;
                line-height: 50px;
                height: 50px;
                border-bottom: 1px solid #f5f5f5;
                background: #f9f9f9;
                ul{
                    li{
                        float: left;
                        margin-right: 24px;
                        height: 46px;
                        line-height: 46px;
                        padding: 0 12px;
                        a{
                            color: #666;
                            text-decoration: none;
                        }
                    }
                    // 切换订单样式
                    .ac{
                        border-bottom: 2px solid #f35356;
                        a{
                            color: #f35356;
                        }
                    }
                }
            }
            .no-order{
                width: 100%;
                height: 288px;
                padding-top: 190px;
                margin-bottom: 190px;
                position: relative;
                &-one{
                    position: absolute;
                    left: 50%;
                    margin-left: -102px;
                    i{
                        float: left;
                        width: 89px;
                        height: 95px;
                        background: url(../img/car.png);
                    }
                    .message{
                        float: left;
                        font-size: 14px;
                        color: #666;
                        padding-left: 24px;
                        padding-top: 8px;
                        p{
                            font-size: 16px;
                            height: 18px;
                        }
                        a{
                            display: inline-block;
                            margin-top: 10px;
                            color: #f35356;
                            height: 16px;
                        }
                    }
                }
                .appear{
                    display: none;
                }
            }
            .have-order{
                width: 100%;
                height: 568px;
                padding-top: 10px;
                position: relative;
                .top-bar{
                    border-top: 1px solid #f5f5f5;
                    padding: 0 3%;
                    background: #f9f9f9;
                    height: 54px;
                    ul {
                        li {
                            height: 54px;
                            line-height: 54px;
                            font-size: 15px;
                            color: #666;
                            float: left;
                        }
                        .bar-02{
                            width: 51%;
                            padding-left: 4%;
                        }
                        .bar-03{
                            width: 20%;
                        }
                        .bar-04{
                            width: 17%;
                        }
                        .var-05{
                            width: 8%;
                        }
                    }
                }
                .good-list{
                    background: #f9f9f9;
                    padding: 0 3%;
                    border-top: 1px solid #f5f5f5;
                    height: 500px;
                    ul{
                        height: 133px;
                        li{
                            height: 133px;
                            line-height: 133px;
                            float: left;
                        }
                        .goods{
                            padding-top: 18px;
                            height: 115px;
                            padding-left: 4%;
                            width: 51%;
                            .left{
                                float: left;
                                width: 104px;
                                height: 96px;
                                img{
                                    float: left;
                                    width: 104px;
                                    height: 96px;
                                }
                            }
                            .right{
                                float: left;
                                line-height: 20px;
                                margin-left: 18px;
                                position: relative;
                                h4{
                                    width: 200px;
                                    overflow: hidden;
                                    white-space: nowrap;
                                    text-overflow: ellipsis;
                                    margin-top: 4px;
                                    font-size: 15px;
                                    font-weight: normal;
                                    a{
                                        color: #666;
                                    }
                                }
                                p{
                                    font-size: 14px;
                                    color: #666;
                                    position: absolute;
                                    width: 200px;
                                }
                                .attr-0{
                                    margin-top: 10px;
                                }
    
                            }
                        }
                        .prices{
                            color: #333;
                            font-size: 15px;
                            width: 21%;
                        }
                        .numbers{
                            position: relative;
                            color: #666;
                            width: 11%;
                        }
                        .total{
                            font-size: 15px;
                            color: #f35356;
                            width: 13%;
                            text-align: center;
                        }
                    }
                }
                .paging{
                    position: absolute;
                    left: 46%;
                    bottom: 9%;
                    ul{
                        li{
                            float: left;
                            cursor: pointer;
                            margin: 0 1px;
                            width: 30px;
                            height: 30px;
                            background: #f2f2f2;
                            text-align: center;
                            line-height: 30px;
                        }
                    }
                }
            }
        }
        .coupon-detail{
            line-height: 1.15;
            padding: 0;
            margin: 0;
            width: 81%;
            min-height: 615px;
            margin-left: 19%;
            background-color: #fff;
            .title{
                line-height: 1.15;
                list-style: none;
                height: 50px;
                li{
                    list-style: none;
                    padding: 0;
                    position: relative;
                    float: left;
                    margin: 0 25px;
                    height: 50px;
                    line-height: 50px;
                    font-size: 17px;
                    color: #666666;
                    cursor: pointer;
                    a{
                        list-style: none;
                        line-height: 50px;
                        font-size: 17px;
                        padding: 0;
                        margin: 0;
                        background-color: transparent;
                        outline: none;
                        text-decoration: none;
                        color: #666666;
                    }
                }
                .active::after{
                    content: '';
                    position: absolute;
                    bottom: 0;
                    left: 50%;
                    transform: translateX(-50%);
                    background-color: #f35356;
                    width: 88px;
                    height: 2px;
                    border-radius: 1px;
                }
            }
            .coupon-content{
                line-height: 1.15;
                padding: 9px 21px;
                .exchange{
                    line-height: 1.15;
                    padding-left: 17px;
                    margin-bottom: 27px;
                    input{
                        font-family: sans-serif;
                        line-height: 1.15;
                        overflow: visible;
                        background: transparent;
                        width: 610px;
                        height: 36px;
                        text-indent: 14px;
                        font-size: 13px;
                        border-radius: 2px 2px 2px 2px;
                        border: solid 1px #e2e2e2;
                        outline: none;
                        background-color: #fff;
                    }
                    button{
                        font-family: sans-serif;
                        font-size: 100%;
                        line-height: 1.15;
                        overflow: visible;
                        text-transform: none;
                        width: 70px;
                        height: 36px;
                        color: #fff;
                        margin-left: 10px;
                        background-color: #f35356;
                        border-radius: 2px 2px 2px 2px;
                        border: 0;
                        outline: none;
                        cursor: pointer;
                    }
                }
            }
        }
        .address-detail{
            line-height: 1.15;
            width: 81%;
            margin-left: 19%;
            background-color: #fff;
            box-sizing: border-box;
            color: #666;
            min-height: 615px;
            padding-bottom: 20px;
            .address-title{
                font-family: Microsoft yahei, tahoma, arial, \5b8b\4f53;
                color: #666;
                font-size: 17px;
                padding-left: 5%;
                line-height: 50px;
                height: 50px;
                border-bottom: 1px solid #f5f5f5;
                ul{
                    list-style: none;
                    line-height: 50px;
                    li{ 
                        height: 46px;
                        line-height: 50px;
                        float: left;
                        a{
                            background-color: transparent;
                            outline: none;
                            text-decoration: none;
                            cursor: default;
                            color: #f35356;
                        }
                    }
                    .active{
                        opacity: 1;
                        border-bottom: 2px solid #f35356;
                    }
                }
            }
            .address-bar{
                color: #666;
                font-size: 15px;
                padding-left: 5%;
                overflow: hidden;
                line-height: 54px;
                background-color: #fdfdfd;
                border-bottom: 1px solid #f5f5f5;
                ul{
                    li{
                        float: left;
                    }
                    .name{
                        width: 80px;
                    }
                    .place{
                        width: 48%;
                    }
                    .operate{
                        width: 11%;
                        float: right;
                    }
                }
            }
            .address-list{
                line-height: 1.15;
                font-size: 14px;
                background-color: #fafafa;
                padding-left: 5%;
            }
            .add-site{
                margin-left: 5%;
                margin-top: 20px;
                line-height: 38px;
                text-align: center;
                cursor: pointer;
                background: url(/img/spirit-2.png);
                background-position: 0px 0px;
                width: 160px;
                height: 38px;
                .add-place{
                    line-height: 38px;
                    text-align: center;
                    cursor: pointer;
                    display: inline-block;
                    background-image: url(/img/spirit-2.png);
                    background-position: -231px -120px;
                    width: 12px;
                    height: 12px;
                }
            }
        }
    } 
}

